import request from '@/utils/request'

// 回复评价
export function replyReview(data) {
  return request({
    url: '/api/replies/add',
    method: 'post',
    data: data
  })
}

// 获取评价的回复列表
export function listReplies(reviewId) {
  return request({
    url: '/api/replies/list/' + reviewId,
    method: 'get'
  })
}